package com.itheima.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class User {

    private Integer id;
    private String username;
    private String password;
    private String email;

    //下面是后添加的

    //  存储角色id的
    private Integer[] ids;
    //用来配合user返回多个角色的
    private List<Role> roleList;


}
